<template>
  <div class="record-content">
    <div>{{ record.amount ? record.amount + '元' : '' }}</div>
  </div>
</template>

<script setup>
  const props = defineProps({
    record: {
      type: Object,
      default() {
        return {}
      },
    },
  })
</script>
<style lang="less" scoped>
  .record-content {
    width: 120px;
    height: 60px;
    font-size: 14px;
    font-family: PingFang SC-Regular, PingFang SC;
    font-weight: 400;
    color: #1d2129;
    padding: 20px 8px;
    margin: -9px -16px;
    background: #ffead3;
  }
</style>
